package com.meituan.catering.management.shop.biz.model.request;

import com.meituan.catering.management.common.model.enumeration.BusinessTypeEnum;
import com.meituan.catering.management.shop.api.http.model.enumeration.ManagementTypeEnum;
import com.meituan.catering.management.shop.api.http.model.request.SearchShopHttpRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;

import static java.lang.Boolean.FALSE;

/**
 * @author Believe
 * Date 2022/5/16 17:44
 */
@Data
public class SearchShopBizRequest {

    private Integer pageIndex = 1;

    private Integer pageSize = 10;

    private String keyword;

    private String managementType;

    private String businessType;

    private Boolean enabled;

    private List<SortField> sortFields = new LinkedList<>();

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class SortField {

        private String field;

        private String asc = "desc";
    }
}
